package com.guozcc.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class GatewayApplication {
    public static void main(String[] args) {
        System.setProperty("csp.sentinel.dashboard.server", "127.0.0.1:8850");
        System.setProperty("project.name", "jsb-gateway");
        System.setProperty("csp.sentinel.log.use.pid", "true");
        System.setProperty("csp.sentinel.statistic.max.rt", "59000");
        System.setProperty("csp.sentinel.api.port", "38718");
        SpringApplication.run(GatewayApplication.class, args);
    }

}


/**  所有的断言需实现这个工程类接口  AbstractRoutePredicateFactory
 * AfterRoutePredicateFactory
 * BeforeRoutePredicateFactory
 * BetweenRoutePredicateFactory
 * CloudFoundryRouteServiceRoutePredicateFactory
 * CookieRoutePredicateFactory
 * HeaderRoutePredicateFactory
 * HostRoutePredicateFactory
 * MethodRoutePredicateFactory
 * PathRoutePredicateFactory
 * QueryRoutePredicateFactory
 * ReadBodyPredicateFactory
 * RemoteAddrRoutePredicateFactory
 * WeightRoutePredicateFactory
 */